{extend name="public/base" /} {block name="style"}
<link href="__CSS__/index.css" rel="stylesheet"> {/block} {block name="body"}

<div class="mall">
	<div class="fc-index-widget label-red white" data-start="0" style="visibility: visible;">
		<div class="fc-index-consume-total8">
			<div class="fc-index-consume-label">
				<span>线上订单<span class="fa fa-question-circle margin-left-10" style="color:#fff !important" id="incomeHelp" data-original-title="" title=""></span></span>
			</div>
			<div class="fc-index-consume-num">
				<h2>
	                    <label id="incomeTotalAmount"></label>&nbsp;<span style="font-size: 30px;">{$ordersum}</span>
	                </h2>
			</div>

			<div class="clearfix"></div>
		</div>
		<div class="fc-index-consume-deatil">
			<ul class="cl">
				<a href="">
				<li>
					<div class="fc-index-consume-detail-title">待付款</div>
					<div id="incomeCashAmount" class="color-999">{$to_pay}</div>
				</li>
				</a>
				<a href="">
				<li>
					<div class="fc-index-consume-detail-title">待发货</div>
					<div id="incomeBankAmount" class="color-999">{$to_fahuo}</div>
				</li>
				</a>
				<a href="">
				<li class="liHide">
					<div class="fc-index-consume-detail-title">已完成</div>
					<div id="incomeTotalOtherAmount" class="color-999">{$to_wancheng}</div>
				</li></a>
			</ul>
		</div>
	</div>
	<div class="fc-index-widget label-red white" data-start="0" style="visibility: visible;">
		<div class="fc-index-consume-total9">
			<div class="fc-index-consume-label">
				<span>线上销售额<span class="fa fa-question-circle margin-left-10" style="color:#fff !important" id="incomeHelp" data-original-title="" title=""></span></span>
			</div>
			<div class="fc-index-consume-num">
				<h2>
	                    <label id="incomeTotalAmount"></label>&nbsp;<span style="font-size: 30px;">{$moneysum}￥</span>
	                </h2>
			</div>

			<div class="clearfix"></div>
		</div>
		<div class="fc-index-consume-deatil">
			<ul class="cl">
				<a href="">
				<li>
					<div class="fc-index-consume-detail-title">今日</div>
					<div id="incomeCashAmount" class="color-999">{$todaymoneysum}</div>
				</li>
				</a>
				<li>
					<div class="fc-index-consume-detail-title"></div>
				</li>
				<a href="">
				<li>
					<div class="fc-index-consume-detail-title">本周</div>
					<div id="incomeBankAmount" class="color-999">{$weekmoneysum}</div>
				</li>
				</a>
				
			</ul>
		</div>
	</div>
	
	<div class="fc-index-widget label-red white" data-start="0" style="visibility: visible;">
		<div class="fc-index-consume-total10">
			<div class="fc-index-consume-label">
				<span>会员<span class="fa fa-question-circle margin-left-10" style="color:#fff !important" id="incomeHelp" data-original-title="" title=""></span></span>
			</div>
			<div class="fc-index-consume-num">
				<h2>
	                    <label id="incomeTotalAmount"></label>&nbsp;<span style="font-size: 30px;">{$totalsum}</span>
	                </h2>
			</div>

			<div class="clearfix"></div>
		</div>
		<div class="fc-index-consume-deatil">
			<ul class="cl">
				<a href="">
				<li>
					<div class="fc-index-consume-detail-title">今日</div>
					<div id="incomeCashAmount" class="color-999">{$todaysum}</div>
				</li>
				</a>
				<li>
					<div class="fc-index-consume-detail-title"></div>
				</li>
				<a href="">
				<li>
					<div class="fc-index-consume-detail-title">本周</div>
					<div id="incomeBankAmount" class="color-999">{$weeksum}</div>
				</li>
				</a>
				
			</ul>
		</div>
	</div>
	<div class="fc-index-widget label-red white" data-start="0" style="visibility: visible;">
		<div class="fc-index-consume-total11">
			<div class="fc-index-consume-label">
				<span>商品数量<span class="fa fa-question-circle margin-left-10" style="color:#fff !important" id="incomeHelp" data-original-title="" title=""></span></span>
			</div>
			<div class="fc-index-consume-num">
				<h2>
	                    <label id="incomeTotalAmount"></label>&nbsp;<span style="font-size: 30px;">{$ysums}</span>
	                </h2>
			</div>

			<div class="clearfix"></div>
		</div>
		<div class="fc-index-consume-deatil">
			<ul class="cl">
				<a href="">
				<li>
					<div class="fc-index-consume-detail-title"></div>
				</li>
				</a>
				<li>
					<div class="fc-index-consume-detail-title">累计销量</div>
					<div id="incomeBankAmount" class="color-999">{$sales}</div>
				</li>
				
				
			</ul>
		</div>
	</div>
</div>

<div class="row" style="margin-top: 15px;">
	<!-- 最新10个会员 start -->
	<div class="col-md-6 col-md-new1">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">最新注册的10位会员</h3>
			</div>
			<div class="panel-body">
				<div class="table-responsive ls-table">
					<table class="table fc-style2-table">
						<thead>
							<tr>
								<th>所属店铺</th>
								<th>会员</th>
								<th>等级</th>
							</tr>
						</thead>
						<tbody id="memberTopTenTbody">
							{volist name="line_member" id="vo"}
							<tr>
								<td>{$vo.store_name}</td>
								<td>{$vo.membername}</td>
								<td>{if $vo.member_gradeid == 0} 会员默认等级 {else} 一级 {/if}
								</td>
							</tr>
							{/volist}
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<!-- 最新10个会员 end -->
	<!-- 最新10笔订单 start -->
	<div class="col-md-6 col-md-new2">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">最新的10笔订单</h3>
			</div>
			<div class="panel-body">
				<div class="table-responsive ls-table">
					<table class="table fc-style2-table">
						<thead>
							<tr>
								<th>订单号</th>
								<th>会员</th>
								<th>金额</th>
							</tr>
						</thead>
						<tbody id="billTopTenTbody">
							{volist name="order_new" id="order"}
							<tr>
								<td>{$order.sn}</td>
								<td>{$order.membername}</td>
								<td>{$order.price}</td>
							</tr>
							{/volist}
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<!-- 最新10笔订单 end -->
</div>

{/block} {block name="script"}


{/block}